body{
    background: #f4f4f4;
}

.center-block{
    margin: 0 auto;
    overflow: hidden;
}
.float-left{
    float: left;
}
.float-right{
    float: right;
}
.all-width{
    width: 94%;
    margin: 0 auto;
    padding:0;
}
html{
    font-size: 10px;
}
@media screen and (min-device-width: 384px){
    html{ font-size:12px;!important;}
}

@media screen and (min-width:480px){
    html{ font-size:15px;!important;}
}
@media screen and (min-width:640px){
    html{ font-size:20px;!important;}
}
/*搜索区域*/
#search{
    height: 30rem;
    background: url("../images/banner.png");
    background-size:100% 100% ;
}
.search-bg{
    width: 94%;
    margin: 20rem auto 0;
    height: 6rem;
    position: relative;
    border-radius: 5px;
    background: #fff;
}
.img-left,.img-right{
    height: 100%;
    width: 10%;
    position: relative;
}
.search-bg .col-xs-2,.search-bg .col-sm-2{
    width: 12%;
}
.search-bg .col-xs-8,.search-bg .col-sm-8{
    width: 76%;
}
.search-bg .col-xs-2,.search-bg .col-sm-2,.search-bg .col-sm-8,.search-bg .col-xs-8{
    height: 100%;
    vertical-align: middle;
}
.search-bg img{
    margin: 1.5rem auto;
    display: block;

}
.search-bg  input[type="search"]{
    outline: none;
    border: none;
    height: 100%;
}
input::-webkit-input-placeholder { /* WebKit browsers */
    color: #c8c8c9;
    font-size: 1.8rem;
}
input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #c8c8c9;
    font-size: 1.8rem;
    line-height: 1.5;

}
input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #c8c8c9;
    font-size: 1.8rem;
    line-height: 1.5;
}
input:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #c8c8c9;
    font-size: 1.8rem;
    line-height: 1.5;

}
/*热搜课程*/
#hot,#recommond{
    padding-top: 1.8rem;
}
#hot h2,#recommond h2{
    font-size: 2.4rem;
    letter-spacing: 2px;
    color: #0d3173;
    padding-left: 1rem;
    position: relative;
    margin-bottom: 20px;
}
#recommond .item h2{
    padding-left: 0;
}
h2 .vert{
    width: 0.4rem;
    height: 2rem;
    position: absolute;
    top:16%;
    left: 0;
    margin-right: 1rem;
    display: inline-block;
    background: #0d3173;
}
#hot .hot-item{
    height: 12.5rem;

}
#hot .hot-pic{
    width: 100%;
    height:10rem;
}
#hot .hot-pic img{
    width: 100%;
    height: 100%;
}
.all-widths{
    width: 96%;
    margin: 0 auto;
}
#hot .all-widths .col-sm-3,#hot .all-widths .col-xs-3{
   padding-left: 15px;
    padding-right: 18px;
}
#hot .hot-txt{
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    color: #333;
    background: #fff;
    height: 2.4rem;
    -moz-box-shadow:0px 33px 38px -2px  #e6e6e6;
    box-shadow: 0px 33px 38px -2px  #e6e6e6;
}
#hot .hot-txt h3{
    line-height: 2.4rem;
   letter-spacing: 2px;
    font-size: 1.6rem;
    margin: 0;
}
/*推荐课程*/
#recommond .row{
background: #fff;
    height: 12.5rem;
    width: 94%;
    margin: 0 auto 1rem;
    padding: 15px 0;
}
#recommond .row h2 {
    font-size: 1.4rem;
    color: #333;
}
#recommond .row .item h2{
    margin-top: 0.5rem;
}
#recommond .row img{
    width: 100%;
    height:100%;
}
#recommond .row p{
    font-size: 1.1rem;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp:4;
    margin-bottom: 0;
    text-indent: 1.4rem;
    line-height: 1.3;
    -webkit-box-orient: vertical;
}
.item-text{
    height:112px;
}
#recommond .col-xs-5,#recommond .col-sm-5{
    width: 35%;
    height: 100%;
}
#recommond .col-xs-7,#recommond .col-sm-7{
    width: 65%;
}
.item .col-xs-6 ,.item .col-sm-6 {
    font-size: 1rem;
    color: hsl(0, 0%, 53%);
    padding-left: 0;
}
#recommond .row button{
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.8rem;
    background: #7aa64f;
}
.item .forms{
    padding-top: 1rem;
}
#recommond .row .col-xs-3,#recommond .row .col-sm-3{
    padding-left: 1rem;
}
#recommond .row .col-sm-9 .col-xs-6,#recommond .row .col-sm-9 .col-sm-6{
    padding-top:5px;
    font-size: 1rem;
    color: #b7b6b6;
}
#recommond .item .col-sm-9,#recommond .item .col-xs-9{
    padding: 0;
}